8e42e25f1230080ec33f6812aa80e45ac4a13504,findbugs/src/java/edu/umd/cs/findbugs/ba/jsr305/Analysis.java,Analysis,getRelevantTypeQualifiers,#MethodDescriptor#,59
Before Change
//XMethod xMethod = XFactory.createXMethod(context.getJavaClass(), method);
IAnalysisCache analysisCache = Global.getAnalysisCache();
XMethod xMethod = analysisCache.getMethodAnalysis(XMethod.class, methodDescriptor);
MethodGen methodGen = analysisCache.getMethodAnalysis(MethodGen.class, methodDescriptor);
ConstantPoolGen cpg = analysisCache.getClassAnalysis(ConstantPoolGen.class, methodDescriptor.getClassDescriptor());
After Change
IAnalysisCache analysisCache = Global.getAnalysisCache();
ClassContext context = analysisCache.getClassAnalysis(ClassContext.class, methodDescriptor.getClassDescriptor());
Method method = analysisCache.getMethodAnalysis(Method.class, methodDescriptor);
HashSet<TypeQualifierValue> result = new HashSet<TypeQualifierValue>();
XMethod xMethod = XFactory.createXMethod(context.getJavaClass(), method);